<?php  
header("content-type:text/html;charset=utf-8");
?> 
<!doctype html>
<html lang="zh-cn">
<head>
  <meta charset="UTF-8">  
  <title>用户列表</title>
</head>
<body>
     <center><h3>用户列表</h3></center>
     <table align="center" width="80%" border="1" class="table table-striped">
     <tr>
        <th>序号</th>
        <th>视频类别名称</th>
        <th>操作</th>
        
     </tr>
     <?php 
      foreach ($data['videotype'] as $row)  {
        echo '<tr>';
        echo '<td>'.$row['tid'].'</td>';
        echo '<td>'.$row['typename'].'</td>';
        
          echo '<td><a href="index.php?c=type&m=typemod&id='.$row['tid'].'">修改</a> | <a href="index.php?c=type&m=deltype&id='.$row['tid'].'" onClick = "return confirm(\'确定要删除吗？\');">删除</a></td> ';
                        echo '</tr>';
        }                  
     
     echo '</table>';
     
  
      ?>
                
























